package com.xhl.dao;

import java.util.List;

import org.springframework.stereotype.Repository;

import com.xhl.vo.CategoryVO;
import com.xhl.vo.Pager;

@Repository
public interface ICategoryDao {
    public List<CategoryVO> queryCategory(Pager<?> p);

    public long count();

    public long queryMax();

    public void addCategory(String name);

    public void deleteCategory(String cid);

    public void updateCategory(CategoryVO cvo);

    public List<CategoryVO> queryCategoryAll();
}
